package cn.usian.service;

import cn.usian.dto.UserDto;
import cn.usian.common.Results;
import cn.usian.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<User> {
    Results login(User user);

    Results LoginCode(String phone, Integer status);

    Results toLoginCode(UserDto userDto);

    Results toRegister(UserDto userDto);

    Results toUpdatPws(UserDto userDto);

    Results findUserType();

    Long findUserName(String username);
}
